package domain

import "github.com/lab-online/internal/class/entity"

type ClassRepository interface {
	SaveClass(entity.ClassEntity) (entity.ClassEntity, error)
	SaveWithStudents(entity.ClassEntity) (entity.ClassEntity, error)
	GetClassByID(uint) (entity.ClassEntity, error)
	GetClassWithStudentsByID(uint) (entity.ClassEntity, error)
	GetClasses(entity.ClassEntity) ([]entity.ClassEntity, error)
	GetClassIDsForStudent(username string) ([]uint, error)
	DeleteClass(classEntity entity.ClassEntity) error
}
